let mongoose = require("mongoose")

mongoose.connect("mongodb://localhost/talkMsg")
    .then(value => {
        console.log('yes')
    })